export interface IUser {
  username: string;
  socket: WebSocket;
}

export class User implements IUser {
  username: string;
  socket: WebSocket;
  constructor(user: IUser) {
    this.username = user.username;
    this.socket = user.socket;
  }
}
